package com.woniuxy.service.basics;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.woniuxy.pojo.Book;

public interface BookService {

	List<String> selectByParentName(String name);

	PageInfo selectAll(Integer pn, String condition);

	List<String> selectMenu();

	List<String> selectMenu2(String condition);

	List<Book> selectMenuByLevel(String bookLevel);

	void addBook(Book book);

	Book selectByBookId(Integer bookId);

	String selectNameById(Integer bookid);

	void updateBook(Book book);
}
